using System;
using DevExpress.Xpo;

namespace BusinessObjects
{

    public class LienHe : XPObject
    {
        public LienHe()
            : base()
        {
            // This constructor is used when an object is loaded from a persistent storage.
            // Do not place any code here.
        }

        public LienHe(Session session)
            : base(session)
        {
            // This constructor is used when an object is loaded from a persistent storage.
            // Do not place any code here.
        }

        public override void AfterConstruction()
        {
            base.AfterConstruction();
            // Place here your initialization code.
        }

        //Fields
        private string _ho;

        [DbType("nvarchar(30)")]
        public string Ho
        {
            get { return _ho; }
            set {SetPropertyValue("Ho", ref _ho, value); }
        }
        private string _ten;
        [DbType("nvarchar(10)")]
        public string Ten
        {
            get { return _ten; }
            set {SetPropertyValue("Ten", ref _ten, value); }
        }
        private string _dienThoai;
        [DbType("nvarchar(20)")]
        public string DienThoai
        {
            get { return _dienThoai; }
            set {SetPropertyValue("DienThoai", ref _dienThoai, value); }
        }
        private string _email;
        [DbType("nvarchar(100)")]
        public string Email
        {
            get { return _email; }
            set {SetPropertyValue("Email", ref _email, value); }
        }
        private BoPhan _boPhan;
        [DbType("int")]
        public BoPhan BoPhan
        {
            get { return _boPhan; }
            set {SetPropertyValue("BoPhan", ref _boPhan, value); }
        }
        private ChucVu _chucVu;
        [DbType("int")]
        public ChucVu ChucVu
        {
            get { return _chucVu; }
            set {SetPropertyValue("ChucVu", ref _chucVu, value); }
        }


    }

}